PPrint(short nCopies, short nFirstPage, short nLastPage, const char * fPrintToDisk, const char * sPCPrinter);
Number of copies. The nCopies parameter of the PPrint command overides the number of copies specified with the nCopies parameter of the PPrintDoc command.short nCopies;
Number of copies to print
kParmDontCare to print the number of copies specified with the PPrintDoc commandshort nFirstPage;
First page to print
0 to print all pages in the publication
kParmDontCare to print the range specified with the PPrintDoc commandshort nLastPage;
Last page of the range to print
kParmDontCare to print the range specified with the PPrintDoc commandconst char * fPrintToDisk;
Filename for print file (to a maximum of 91 characters), to print publication to disk (either as a PostScript, .EPS, or .SEP file)
Use an empty string to not print to diskconst char * sPCPrinter;
Name of the printer when printing to disk in Windows.
Use an empty string to not print to disk
Page range. The nFirstPage and nLastPage parameters override the page range specified with the sRange parameter of the PPrintDoc command. To specify more than one range of pages, use the PPrintDoc command.
Layout view only. The PPrint command works only in layout view.
Printing to disk. If you include a filename for fPrintToDisk, PageMaker creates a PostScript print file, even if you did not turn on Write PostScript to File with the PPrintOptionsPS command. To specify the type of PostScript file (PostScript, .EPS, or .SEP), precede the print command with the PPrintOptionsPS command.
Example. To print "mypub" to disk as a PostScript file in Windows or Mac:
PPrintOptionsPS(3, 0,0, 0, 0, 0, 0, normalpostscript, off);
#ifdef WINDOWS
PPrint(kParmDontCare, kParmDontCare, kParmDontCare, "mypub", "HPLaserJet III on LPT1:",
"");
#else // Macintosh
PPrint(kParmDontCare, kParmDontCare, kParmDontCare, "mypub", "", "");
#endif
The filename can also contain a path. For example:
//Windows
PPrint(kParmDontCare, kParmDontCare, kParmDontCare, "c:\PM\MyFolder\MyPub", "HPLaserJet III
on LPT1:");
The PGetPrintCaps, PGetPrintColor, PGetPrintDoc, PGetPrinterList, PGetPrintInk, PGetPrintOptions, PGetPrintOptionsPS, PGetPrintPaperPS, PGetPrintPPDs, PGetPrintPS, PGetPrintScreens, and PGetPrintTo queries
Adobe PageMaker 6.5 Help > Commands > File > Print
Comments or suggestions? Contact Adobe Developer Support